package com.wlc.service;

import com.wlc.pojo.Dept;
import com.wlc.pojo.PageResult;

import java.util.List;

public interface DeptService {
    PageResult<Dept> findDeptList(String deptName, Integer status, Integer page, Integer size);
    Dept findById(Long id);
    List<Dept> findAll();
    List<Dept> findTree();
    void save(Dept dept);
    void update(Dept dept);
    void deleteById(Long id);
    void updateStatus(Long id, Integer status);
}